import request from "@/utils/request";

// 查询历史数据列表
export function historyList(query) {
  return request({
    url: "/system/historyData/list",
    method: "get",
    params: query,
  });
}
// 查询历史数据详情
export function historydetailData(id) {
  return request({
    url: "/system/historyData/detail/",
    method: "get",
    params:id
  });
}
// 查询企业历史数据详情
export function getCompanyList(query) {
  return request({
    url: "/system/historyData/getCompanyList",
    method: "get",
    params: query,
  });
}
// 查询企业历史关联详情
export function glDetail(query) {
  return request({
    url: "/system/historyData/glDetail",
    method: "get",
    params: query,
  });
}
// 打印合同书条形码
export function getGen(query) {
  return request({
    url: "/system/historyData/gen",
    method: "get",
    params: query,
    responseType: "blob",
  });
}
// 历史数据导出接口
export function getexpList(query) {
  return request({
    url: "/system/historyData/expList",
    method: "get",
    params: query,
    responseType: "blob",
  });
}